using System.Collections.Generic;
using GGEditor.API;

namespace GGEditor.API.Documents
{
	public interface IDocumentWriter
	{
		IPropertiesWriter Properties { get; }
		IEnumerable<IEntityWriter> Entities { get; }
		void AddEntity(IEntityWriter entity);
		void RemoveEntity(IEntityWriter entity);
	}

	public interface IEntityWriter : IEntityReader
	{
		new IPropertiesWriter Properties { get; }
	}
}